package com.xuecheng.api.media;

import com.xuecheng.api.media.model.aliyun.VodUploadRequest;
import com.xuecheng.api.media.model.aliyun.VodUploadToken;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;

/**
 * <p></p>
 *
 * @Description:
 */
@Api(value = "媒资aliyun vod  Api 接口",tags = "媒资aliyun vod  Api 接口",description = "媒资aliyun vod  Api 接口")
public interface AliyunVodApi {


    @ApiOperation("创建媒资上传凭证")
    @ApiImplicitParam(name = "vodUploadRequest",value = "媒资上传请求信息",
            required = true,dataType = "VodUploadRequest",paramType = "body")
    VodUploadToken generateUploadToken(VodUploadRequest request);


    @ApiOperation("刷新视频上传凭证，为前端分片上传使用")
    VodUploadToken refreshUploadToken(String videoId);

}
